package com.vcredit.creditcat.dto.product.h5;

import java.io.Serializable;

import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.Length;


public class CreateOrderParamDto implements Serializable{

	private static final long serialVersionUID = -720555160851643862L;

	private Float loanAmount;
	
	@Min(value = 1, message = "期限错误")
	private Integer loanPeriod;
	
	@Length(min = 16, max = 20, message = "银行卡号不正确")
	private String bankCardId;
	
	@Length(min =  1, message = "银行编码不正确")
	private String bankCode;

	public Float getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(Float loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Integer getLoanPeriod() {
		return loanPeriod;
	}

	public void setLoanPeriod(Integer loanPeriod) {
		this.loanPeriod = loanPeriod;
	}

	public String getBankCardId() {
		return bankCardId;
	}

	public void setBankCardId(String bankCardId) {
		this.bankCardId = bankCardId;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
}
